package com.sky.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity;


/**
 * 方法级注解
 * 启用 @PreAuthorize 注解
 */
@Configuration
@EnableMethodSecurity(prePostEnabled = true)
public class SecurityMethodConfig {
    // 空类，无需继承任何父类
}